'''
Created on 26/03/2009

@author: eh01
'''
from im.hub.hublistener import HubListener
import time
import unittest


class Test(unittest.TestCase):


    def setUp(self):
        pass


    def tearDown(self):
        pass


    def test_hub_listener_case1(self):
        hub_listener = HubListener(100)
        hub_listener.start()
        time.sleep(5)
        hub_listener.stop_listener()

if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.test_hub_listener_case1']
    unittest.main()